﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TaobaoERP.Core.Common;

namespace TaobaoERP.Core.EventArgs
{
    public class SavedEventArgs : EventArgsBase
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="SavedEventArgs"/> class.
        /// </summary>
        /// <param name="data">The data.</param>
        /// <param name="action">The action.</param>
        public SavedEventArgs(Object data, SaveAction action)
            : base(data)
        {
            this.Action = action;
        }

        /// <summary>
        /// Gets or sets the action.
        /// </summary>
        /// <value>The action.</value>
        public SaveAction Action { get; set; }
    }
}
